package com.neuedu.qian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* Author lu
* Date  2025-07-31 09:49:28
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("classInfo")
@TableName(value = "class_info")
public class ClassInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *班级id
    */
    @TableField(value = "class_id")
    @TableId(type = IdType.AUTO)
    private Integer classId;

    /**
    * 所属学院
    */
    @TableField(value = "college")
    private String college;
    /**
    * 班级编号(定长10位)
    */
    @TableField(value = "class_no")
    private String classNo;
    /**
    * 班级名称
    */
    @TableField(value = "class_name")
    private String className;
    /**
    * 班级描述
    */
    @TableField(value = "class_desc")
    private String classDesc;
    /**
    * 创办时间
    */
    @TableField(value = "establish_time")
    private Date establishTime;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 修改时间
    */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
    * 创建用户id
    */
    @TableField(value = "create_user_id")
    private Integer createUserId;
    /**
    * 修改用户id
    */
    @TableField(value = "update_user_id")
    private Integer updateUserId;
    /**
    * 记录状态(1:正常;9:停用或删除)
    */
    @TableField(value = "record_status")
    private Integer recordStatus;
    /**
    * 备注
    */
    @TableField(value = "remark")
    private String remark;
    /**
     * 班级学生列表
     */
  /*  @TableField(exist = false)
    private List<Student> studentList;*/
}